import { defineConfig } from 'vite'

// https://vitejs.dev/config/
export default defineConfig({
	base: './',
	server: {
		host: '0.0.0.0',
		port: 5000,
		// watch: {
		// 	ignored: ['!**/node_modules/**'] // node_modules热更新
		// }
	},
	build: {
		target: 'esnext'
	},
	optimizeDeps: {
		exclude: ['three'],
		// force: true
	}
})